import Vue from 'vue';
import VueRouter from 'vue-router';
import Maps from '@/views/Maps.vue';

Vue.use(VueRouter);

const routes = [
	{
		path: '/',
		redirect: '/maps',
		component: Maps
	},
	{
		path: '/maps',
		name: 'Maps',
		component: Maps
	},
	{
		path: '/videos',
		name: 'Videos',
		component: () => import(/* webpackChunkName: "about" */ '../views/Videos.vue')
	}
];

const router = new VueRouter({
	routes
});

export default router;
